<template>
  <div>
    <editor-flow
      ref="editorFlow"
      :is-show-dialog="isShowTestDialog"
      @hideDialog="isShowTestDialog = false" />
    <el-button
      type="text"
      @click="editFlowName">点击打开 Dialog</el-button>
  </div>
</template>
<script>
import editorFlow from './editorFlow'
export default {
  components: {
    editorFlow
  },
  data() {
    return {
      isShowTestDialog: false
    }
  },
  methods: {
    editFlowName(id) {
      this.isShowTestDialog = true
    },
    hideData() {
      this.isShowTestDialog = false
    }
  }
}
</script>
